<?php
class UArray{
	public static function arrayMerge($arr1,$arr2)
	{
		return array_flip(array_merge(array_flip($arr1),array_flip($arr2)));
	}
	
	public static function ArraytoObject($array)
	{
		return json_decode(json_encode($array));
	}
}
?>